package com.main.apiDoc.application.service;

import com.main.apiDoc.domain.entity.model.User;
import com.main.apiDoc.domain.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public User getUserById(Integer Id) {
        return userMapper.getUserById(Id);
    }

}